/*
 * Copyright 2022 The Open Islands Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.openislands.oi.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "node")
public class MyNodeInfo {
    private String nodeId;
    private String owner;
    private String publicKey;
    private String privateKey;
    private String httpAccess;
    private String httpsAccess;
    private String grpcAccess;
    private String grpcsAccess;

    public String getNodeId() {
        return nodeId;
    }

    public void setNodeId(String nodeId) {
        this.nodeId = nodeId;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getHttpAccess() {
        return httpAccess;
    }

    public void setHttpAccess(String httpAccess) {
        this.httpAccess = httpAccess;
    }

    public String getGrpcAccess() {
        return grpcAccess;
    }

    public void setGrpcAccess(String grpcAccess) {
        this.grpcAccess = grpcAccess;
    }

    public String getHttpsAccess() {
        return httpsAccess;
    }

    public void setHttpsAccess(String httpsAccess) {
        this.httpsAccess = httpsAccess;
    }

    public String getGrpcsAccess() {
        return grpcsAccess;
    }

    public void setGrpcsAccess(String grpcsAccess) {
        this.grpcsAccess = grpcsAccess;
    }
}
